<?php  
        session_start();
        if (!isset($_SESSION['username'])) {
                echo "<script language='javascript'>";
                echo "alert('You have no permission to read this page!');";
                echo "history.back();";
                echo "</script>";
                header("location:../login.php");
        }
        else { 
		$id = $_GET["id"];
		$id = mysql_real_escape_string($id);
                echo '
<!DOCTYPE html>
<html>

<head>
<meta name="viewport" content="width=device-width; text/html; charset=utf-8" http-equiv="Content-Type">
<title>維修中</title>
<link href="../mobile.css" rel="stylesheet" type="text/css">
<style type="text/css">
</style>
</head>

<body>

<div id="banner">
	功能選擇
	<div id="home">
		<a href="select.php?id='.$id.'">
		<img alt="" class="auto-style1" height="40" src="../pic/home.png" width="40"></a>
	</div>
	<div id="logout">
		<a href="../logout.php">
		<img alt="" class="auto-style1" height="41" src="../pic/logout.png" width="41"></a>
	</div>
</div>

<div id="content">
	<br />暫不提供此功能<br />
	<br/>		
</div>


</body>

</html>';
}
?>
